package com.highcom.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class Handler {


    @GetMapping("/goto")
    public String gotoE(Model model){
        model.addAttribute("msg","hi thymeleaf");
        model.addAttribute("link","http://www.baidu.com");
        return "success"; // templates/success.html
    }
}
